<script>
import DateSelect from '../../components/base/date-select/index.vue';

export default {
  name: "index",
  components: { DateSelect },
  data() {
    return {
      date: '2022-05-02 12:00:00',
      selectedValue: '',
      pickerOptions: {
        cols: [
          {
            label: '省份',
            value: 'province',
            key: 'province',
          },
          {
            label: '市区',
            value: 'city',
            key: 'city',
          },
          {
            label: '街道', value: 'district',
            key: 'district',
          }],
      }
    }
  },
}
</script>

<template>
  <view>
    <date-select v-model="date"></date-select>
    <view>
      123
      <u-picker :show="true"  v-model="selectedValue" :picker-options="pickerOptions"></u-picker>
    </view>
  </view>
</template>

<style scoped lang="scss">

</style>